package com.jxin.mall;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 微信服务启动类
 * @author  蔡佳新
 * @version 1.0
 * @since   jdk 1.8
 */
@EnableSwagger2
@EnableHystrix
@EnableFeignClients
@EnableEurekaClient
@EnableApolloConfig
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class WeiXinApplication {
    public static void main(String[] args) {
        SpringApplication.run(WeiXinApplication.class, args);
    }
}
